import request from '@/utils/request';

//获取商品分页列表
export function getSpList(data) {
  return request({
    url: '/Product/GetSpList',
    method: 'post',
    data
  });
}
//获取商品卡片分页列表
export function getSpCardList(data) {
  return request({
    url: '/Product/GetSpCardList',
    method: 'post',
    data
  });
}

//获取商品编辑信息
export function getProductEditInfo(data) {
  return request({
    url: '/Product/GetProductEditInfo',
    method: 'post',
    data
  });
}

//获取商品展示图片列表
export function getProductShowPicList(data) {
  return request({
    url: '/Product/GetProductShowPicList',
    method: 'post',
    data
  });
}

//获取商品属性列表
export function getProductAttrParamList(data) {
  return request({
    url: '/Product/GetProductAttrParamList',
    method: 'post',
    data
  });
}